//
// Created by vergil on 17-5-17.
//

#ifndef MAIN_SSLH_H
#define MAIN_SSLH_H

#include "httpd.h"
#include <errno.h>

#define MAX(a, b)  (((a) > (b)) ? (a) : (b))
#define FD_CNXCLOSED    0
#define FD_NODATA       -1
#define FD_STALLED      -2

static const int PROBE_AGAIN = -2;

void start_shoveler(int in_socket);


#endif //MAIN_SSLH_H
